import request from '@/utils/request'

// 查询项目统计列表
export function listProjectStatistics(query) {
  return request({
    url: '/gs/projectStatistics/list',
    method: 'get',
    params: query
  })
}

// 查询项目统计详细
export function getProjectStatistics(id) {
  return request({
    url: '/gs/projectStatistics/' + id,
    method: 'get'
  })
}

// 新增项目统计
export function addProjectStatistics(data) {
  return request({
    url: '/gs/projectStatistics',
    method: 'post',
    data: data
  })
}

// 修改项目统计
export function updateProjectStatistics(data) {
  return request({
    url: '/gs/projectStatistics',
    method: 'put',
    data: data
  })
}

// 删除项目统计
export function delProjectStatistics(id) {
  return request({
    url: '/gs/projectStatistics/' + id,
    method: 'delete'
  })
}
